package com.dto.merchant;

import java.io.Serializable;

public class Level3DTO implements Serializable,Comparable<Level3DTO> {

	private static final long serialVersionUID = -4855342829341604179L;
	private Integer l3Id;
	private String l3Name;
	private Level2DTO level2dto;

	/**
	 * @return the l3Id
	 */
	public Integer getL3Id() {
		return l3Id;
	}

	/**
	 * @param l3Id
	 *            the l3Id to set
	 */
	public void setL3Id(Integer l3Id) {
		this.l3Id = l3Id;
	}

	/**
	 * @return the l3Name
	 */
	public String getL3Name() {
		return l3Name;
	}

	/**
	 * @param l3Name
	 *            the l3Name to set
	 */
	public void setL3Name(String l3Name) {
		this.l3Name = l3Name;
	}

	/**
	 * @return the level2dto
	 */
	public Level2DTO getLevel2dto() {
		return level2dto;
	}

	/**
	 * @param level2dto the level2dto to set
	 */
	public void setLevel2dto(Level2DTO level2dto) {
		this.level2dto = level2dto;
	}

	@Override
	public int compareTo(Level3DTO obj) {
		return this.l3Name.compareTo(obj.getL3Name());
	}

	
}
